The map() operator for Flow converts the supplied values into some alternative values, which it then emits. The conversion logic comes from a lambda expression or other function type that you supply. In this case, the lambda expression squares the non-null values and converts them to strings, leaving null values alone.

You can learn more about this in:
Tags:
Run Edit